<%@ Page ClientTarget="uplevel" Language="C#" AutoEventWireup="true" CodeFile="WebSite.aspx.cs" Inherits="Administration_WebSite" MasterPageFile="~/Administration/Admin.master" ValidateRequest="false"%>
<%@ MasterType VirtualPath="~/Site.master" %>
<%@Register TagPrefix="cc1" Namespace="MyWebPagesStarterKit.Controls" %>
<asp:Content ID="contentPane" ContentPlaceHolderID="mainContent" runat="Server">
   
    
   <div class="menu-box-header">
    <img src="../Images/info.gif" alt="Info" onclick="window.open('../Documentation/<%=lang%>/quick_guide.html#set-up','InfoPopUp', 'height=780,width=800,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no');return false;" style="height:16px;width:16px;border-width:0px;cursor:hand;" />
     <ul class="content-box-tabs">
            <li><asp:LinkButton runat="server" ID="t1" OnCommand="Action" CommandName="tab1" Text="<%$ Resources:stringsRes, adm_Website_Settings%>" CssClass="default-tab" /></li>
            <li><asp:LinkButton runat="server" ID="t2" OnCommand="Action" CommandName="tab2" Text="<%$ Resources:stringsRes, adm_Website_Email%>" /></li>
            <li><asp:LinkButton runat="server" ID="t3" OnCommand="Action" CommandName="tab3" Text="<%$ Resources:stringsRes, adm_Website_SearchEngines%>" /></li>
            <li><asp:LinkButton runat="server" ID="t4" OnCommand="Action" CommandName="tab4" Text="<%$ Resources:stringsRes, adm_Website_Theme%>" /></li>
        </ul>
        <div class="clear"></div>
   </div>
   
   <asp:MultiView runat="server" ID="multiview" ActiveViewIndex="0">
        
          <asp:View runat="server" ID="view1">
            <br />
            <p><label><asp:Localize ID="Localize8" runat="server" Text="<%$ Resources:stringsRes, adm_Website_Title%>" /></label><asp:TextBox runat="server" ID="txtWebSiteTitle" /></p>
            <p><label><asp:Localize ID="Localize9" runat="server" Text="<%$ Resources:stringsRes, adm_Website_Language%>" /></label><cc1:CultureDropdown runat="server" ID="cmbLanguage"></cc1:CultureDropdown></p>
            <p><label><asp:Localize ID="Localize10" runat="server" Text="<%$ Resources:stringsRes, adm_Website_FooterLine%>" /></label><asp:TextBox runat="server" ID="txtFooter" TextMode="multiline" /></p>
            <p><label><asp:Localize ID="Localize11" runat="server" Text="<%$ Resources:stringsRes, adm_Website_WebsiteDescription%>" /></label><asp:TextBox runat="server" ID="txtDescription" TextMode="multiline" /></p>
            <p><label><asp:Localize ID="Localize12" runat="server" Text="<%$ Resources:stringsRes, adm_Website_WebsiteKeywords%>" /></label><asp:TextBox runat="server" ID="txtKeywords" TextMode="multiline" /></p>
            <p><label><asp:Localize ID="Localize13" runat="server" Text="<%$ Resources:stringsRes, adm_Website_LiveWriterCode%>" /></label><asp:TextBox runat="server" ID="txtLiveWriterID" /></p>
            <p><label></label><asp:Checkbox runat="server" ID="chkSectionRss" Text="<%$ Resources:stringsRes, adm_Website_EnableSectionRSS%>"></asp:Checkbox></p>
            <p><label></label><asp:Checkbox runat="server" ID="chkIE8Compatibility" Text="<%$ Resources:stringsRes, adm_Website_EnableIE8CompatibilityMetatag%>"></asp:Checkbox></p>  
            <p><label></label><asp:CheckBox runat="server" ID="chkAllowUserSelfRegistration" Text="<%$ Resources:stringsRes, adm_Website_AllowUserSelfRegistration%>" /></p>
            <p><label></label><asp:CheckBox runat="server" id="chkUseRedirect" Text="Use 301 Redirect" /></p>
            <asp:Button CssClass="button" runat="server" ID="btnSave" CommandName="Save" OnCommand="Action" Text="<%$ Resources:stringsRes, glb__Save%>"></asp:Button>
            <asp:Button CssClass="button" runat="server" ID="btnReset" Enabled="false" OnClick="btnReset_Click" Text="<%$ Resources:stringsRes, adm_Website_Reset%>"></asp:Button>
            <div class="clear"></div>
          </asp:View>
          
          
          
          <asp:View runat="server" ID="view2">
                <br />
                <h3><img src="Resources/Images/Icons/mail_48.png" /><asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:stringsRes, adm_Website_Email%>" /></h3>
                <p><label><asp:Localize ID="Localize2" runat="server" Text="<%$ Resources:stringsRes, adm_Website_SmtpServer%>" /></label><asp:TextBox runat="server" ID="txtSmtpServer" /></p>
                <p><label><asp:Localize ID="Localize1" runat="server" Text="<%$ Resources:stringsRes, adm_Website_MailSender%>" /></label><asp:TextBox runat="server" ID="txtSenderMail" /></p>
                <p><label><asp:Localize ID="Localize6" runat="server" Text="<%$ Resources:stringsRes, adm_Website_SmtpUser%>" /></label><asp:TextBox runat="server" ID="txtSmtpUser" /></p>
                <p><label><asp:Localize ID="Localize4" runat="server" Text="<%$ Resources:stringsRes, adm_Website_SmtpPassword%>" /></label><asp:TextBox runat="server" ID="txtSmtpPassword" /></p>
                <p><label><asp:Localize ID="Localize5" runat="server" Text="<%$ Resources:stringsRes, adm_Website_SmtpDomain%>"></asp:Localize></label><asp:TextBox runat="server" ID="txtSmtpDomain" /></p>
                <p><label><asp:Localize ID="Localize3" runat="server" Text="<%$ Resources:stringsRes, adm_Website_Port%>" /></label><asp:TextBox runat="server" ID="txtPort" /></p>
                 <asp:Button ID="Button1" runat="server" CommandName="Save" CssClass="button" OnCommand="Action" Text="<%$ Resources:stringsRes, glb__Save%>" />
                 <div class="clear"></div>
          </asp:View>  
          
          
          
            <asp:View runat="server" ID="view3">
                <br />
                <h3><asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:stringsRes, adm_SearchEngine_Settings%>" /></h3>
                <p><label><asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:stringsRes, adm_Google_Analytics_key%>" /></label><asp:TextBox runat="server" ID="txtGoogleAnalyticsKey" /></p>
                <p><label><asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:stringsRes, adm_Google_Sitemaps_key%>" /></label><asp:TextBox runat="server" ID="txtGoogleSitemapKey" /> <asp:Button ID="Button2" runat="server" CssClass="button" CommandName="Save" OnCommand="Action" Text="<%$ Resources:stringsRes, glb__Save%>" /></p>
            </asp:View>   
            
            
            <asp:View runat="server" ID="view4">
                <br />
                <h3><asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:stringsRes, adm_Website_Theme%>" /></h3>
                <p><asp:Localize ID="Localize7" runat="server" Text="<%$ Resources:stringsRes, adm_Website_SelectTheme%>" /></p>
                <div id="gallery">
                 <asp:DataList runat="server" ID="lstThemes" RepeatDirection="Horizontal" DataKeyField="Name" RepeatLayout="Flow" OnItemCommand="lstThemes_ItemCommand" SkinID="gallery">
                    <ItemTemplate>
                        <div style="float: left; width:100px; height: 70px;padding: 5px; margin: 3px;border:1px solid #cecece;overflow:hidden;">
                        <asp:LinkButton runat="server" ID="btnSelect" CommandName="SelectTheme">
                            <cc1:ResizedImage runat="server" ID="imgThumbnail" ImageUrl='<%#Eval("Thumbnail")%>' SkinID="galleryThumbnail"></cc1:ResizedImage>
                        </asp:LinkButton><br />
                        <%#Eval("Name")%>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
                 </div>
                 <div class="clear"></div>
            </asp:View>
            
            
     </asp:MultiView>
          
</asp:Content>
